/*
 * @Author: moeWang
 * @Date: 2022-03-07 15:01:21
 * @LastEditTime: 2022-03-08 11:27:56
 * @LastEditors: moeWang
 * @Description:
 * @FilePath: \nest-web\src\logical\role\model\role.model.ts
 */

import { ApiPropertyOptional } from '@nestjs/swagger';
import { RpAccountViewModel } from 'src/logical/account/models/accountView.model';

export class RoleModel {
  @ApiPropertyOptional({ description: 'id' })
  roleId: number;
  @ApiPropertyOptional({ description: '角色名称' })
  roleName: string;
  @ApiPropertyOptional({ description: '角色描述' })
  description: string;
  @ApiPropertyOptional({ description: '菜单列表' })
  menuList?: Array<string>;
  @ApiPropertyOptional({ description: '用户列表' })
  accountList?: Array<string>;
  @ApiPropertyOptional({ description: '用户详细列表' })
  accountDetailList?: Array<RpAccountViewModel>;
}
